<style>
    :not(:defined) {
        display: none;
    }

    /* Force the scroll bar to appear so we see it hide when overlay opens. */
    body::-webkit-scrollbar {
        background: lightgray;
    }

    body::-webkit-scrollbar-thumb {
        background: darkgray;
    }
    #container{
        color: #000;
        font-size: 14px;
        width: 850px;
        height: 450px;
        text-align: center;
        padding: 10px;
        background: #349ACA;
        border: 1px outset #777
    }


    .changeContent{
      display: flex;
      width: 100%;
      padding: 10px;
    }

    .changeContent div{
        margin: 0 2px;
        border: 1px solid green;
        padding: 10px;
        background: #fff;
        cursor: pointer;
    }
    .changeContent div.active{
        background: cyan !important;
    }
    .content{
        height: 250px;
        overflow: auto;
        padding: 10px;
    }
    .content>div{
        display: none;
    }
    .content>div>div{
        display:flex;
        flex-direction:column;
        align-items: center;
        width:100px;
        height:100px;
        padding: 3px;
        cursor: pointer;
        border-radius: 3px;
        margin:5px;
        justify-content: space-around;
        font-size: 12px;
        color: #fff;
    }
    .content>div>div:hover{
        background-color: #fff
    }

    .content>div>div.press{
        background-color: var(--icon-bg-color-hover)
    }


 .content>div>div img {
    border: none;
    width:80px;
    height:80px;
  }
  .content>div>div span {
   color:#000
  }

    .content>div.active{
        display: flex;
        flex-wrap: wrap;

    }
    .bottom{
        text-align: center;
        background: #349ACA;
    }
    .tool_prefs_cancel{
        display: inline-block;
        padding: 4px 15px;
        border: none;
        cursor: pointer;
    }

    #top{
        background: #349ACA;
        text-align: center;
        text-align: center;
        font-size: 16px;
        font-weight: bold;
    }








</style>
<elix-dialog id="svg_createment" aria-label="Sample dialog" closed>
    <div id="top"><h>-------图元列表-------</h></div>
     <div id="container">
        <div class="changeContent">
        </div>
        <div class="content">

        </div>

     </div>
     <div class="bottom">
         <button class="tool_prefs_cancel">
             取消
         </button>
         <button class="tool_prefs_del">
            删除
        </button>
     </div>

</elix-dialog>
